<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/9/16 0016
 * Time: 下午 10:27
 */

namespace Admin\Model;


use Think\Model\ViewModel;

class ConsumptionViewModel extends ViewModel {
    public $viewFields = array(
        'consumption'=>array('id','uid','createtime','integral','content'),
        'treemember'=>array('name','tel','pernumber','_on'=>'consumption.uid=treemember.id')
    );
}